<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>奥鹏管理系统</title>

  <!-- Custom fonts for this template-->
  <link th:href="@{/vendor/fontawesome-free/css/all.min.css}" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

  <!-- Custom styles for this template-->
  <link th:href="@{/css/sb-admin-2.min.css}" rel="stylesheet">

  <!-- 导入自定义样式 -->
  <link rel="stylesheet" th:href="@{/css/sb-admin-me.css}">
  <!--弹出框插件-->
  <link rel="stylesheet" th:href="@{/vendor/build/toastr.min.css}">

</head>

<body id="page-top">

  <!-- Page Wrapper -->
  <div id="wrapper">

     <!-- 菜单 -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

      <!-- Sidebar - Brand -->
      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
        <div class="sidebar-brand-icon rotate-n-15">
          <i class="fas fa-laugh-wink"></i>
        </div>
        <div class="sidebar-brand-text mx-3">奥鹏管理系统</div>
      </a>

      <!-- Divider -->
      <hr class="sidebar-divider my-0">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item">
        <a class="nav-link" th:href="@{/admin/in}">
          <i class="fas fa-fw fa-tachometer-alt"></i>
          <span>首页</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- 网站 -->
      <div class="sidebar-heading">
        网站
      </div>

      <!-- 网站管理 -->
      <li class="nav-item active">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo">
          <i class="fas fa-fw fa-cog"></i>
          <span>网站管理</span>
        </a>
        <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
          <div class="bg-white py-2 collapse-inner rounded">
            <h6 class="collapse-header">信息更改与备份</h6>
            <a class="collapse-item" th:href="@{/seo}">网站优化</a>
            <a class="collapse-item" th:href="@{/seo/message}">网站信息</a>
          </div>
        </div>
      </li>

      <!-- 图片管理 -->
      <li class="nav-item">
        <a class="nav-link" th:href="@{/picture/page}">
          <i class="fas fa-fw fa-wrench"></i>
          <span>图片管理</span>
        </a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- 权限 -->
      <div class="sidebar-heading">
        权限
      </div>

      <!-- 权限管理 -->
      <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages" aria-expanded="true" aria-controls="collapsePages">
          <i class="fas fa-fw fa-folder"></i>
          <span>权限管理</span>
        </a>
        <div id="collapsePages" class="collapse" aria-labelledby="headingPages" data-parent="#accordionSidebar">
          <div class="bg-white py-2 collapse-inner rounded">
            <a class="collapse-item" href="#" th:href="@{/authority}">友情链接</a>
            <a class="collapse-item" href="#" th:href="@{/user/altpwd}">修改密码</a>
          </div>
        </div>
      </li>

       <!-- 栏目管理 -->
       <li class="nav-item">
        <a class="nav-link" th:href="@{/getAopengNavcolumn}">
          <i class="fas fa-fw fa-chart-area"></i>
          <span>栏目管理</span></a>
       </li>

      <!-- Divider -->
      <hr class="sidebar-divider d-none d-md-block">

      <!-- Sidebar Toggler (Sidebar) -->
      <div class="text-center d-none d-md-inline">
        <button class="rounded-circle border-0" id="sidebarToggle"></button>
      </div>

    </ul>
    <!-- 结束--菜单 -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
          <!-- Topbar Navbar -->
          <ul class="navbar-nav ml-auto">

            <!-- Nav Item - Search Dropdown (Visible Only XS) -->
            <li class="nav-item dropdown no-arrow d-sm-none">
              <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <i class="fas fa-search fa-fw"></i>
              </a>
              <!-- Dropdown - Messages -->
              <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in" aria-labelledby="searchDropdown">
                <form class="form-inline mr-auto w-100 navbar-search">
                  <div class="input-group">
                    <input type="text" class="form-control bg-light border-0 small" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
                    <div class="input-group-append">
                      <button class="btn btn-primary" type="button">
                        <i class="fas fa-search fa-sm"></i>
                      </button>
                    </div>
                  </div>
                </form>
              </div>
            </li>

            <div class="topbar-divider d-none d-sm-block"></div>

            <!-- Nav Item - User Information -->
            <li class="nav-item dropdown no-arrow">
              <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <span class="mr-2 d-none d-lg-inline text-gray-600 small" th:text="${session.user.username}"></span>
                <img class="img-profile rounded-circle" th:src="@{/img/touxiang.png}">
              </a>
              <!-- Dropdown - User Information -->
              <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
                <a class="dropdown-item tooltip-test" href="#" data-toggle="tooltip" title="暂未完成...">
                  <i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
                  个人信息
                </a>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
                  <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
                  注销
                </a>
              </div>
            </li>

          </ul>

        </nav>
        <!-- End of Topbar -->

        <!-- Begin Page Content -->
        <div class="container-fluid">
          <!-- Page Heading -->
          <h3 class="h3 mb-1 text-gray-800">网站信息</h3>

          <!-- 网站信息 -->
          <div class="card shadow mb-4 m-card-top">
            <div class="card-header py-3">
              <h6 class="m-0 font-weight-bold text-primary">网站信息</h6>
            </div>
            <div class="card-body">
              <form class="form-horizontal" method="post" th:action="@{/seo/postMessage}">
                <input type="hidden" name="id" th:value="${msg?.id}">
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon1">单位名称:</span>
                  <input type="text" class="form-control m-input-radius" name="unitName" th:value="${msg?.unitName}" placeholder="单位名称" aria-describedby="sizing-addon1">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon2">单位地址:</span>
                  <input type="text" class="form-control m-input-radius" name="unitAddress" th:value="${msg?.unitAddress}" placeholder="单位地址" aria-describedby="sizing-addon2">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon3">联系电话:</span>
                  <input type="text" class="form-control m-input-radius" name="contactNumber" th:value="${msg?.contactNumber}" placeholder="联系电话" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon4">手机:</span>
                  <input type="text" class="form-control m-input-radius" name="phone" th:value="${msg?.phone}" placeholder="手机" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon5">邮箱:</span>
                  <input type="email" class="form-control m-input-radius" name="email" th:value="${msg?.email}" placeholder="邮箱" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon6">传真:</span>
                  <input type="text" class="form-control m-input-radius" name="fax" th:value="${msg?.fax}" placeholder="传真" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon7">业务QQ:</span>
                  <input type="text" class="form-control m-input-radius" name="businessQq" th:value="${msg?.businessQq}" placeholder="业务QQ" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon8">微信号:</span>
                  <input type="text" class="form-control m-input-radius" name="wechat" th:value="${msg?.wechat}" placeholder="微信号" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon9">邮编:</span>
                  <input type="text" class="form-control m-input-radius" name="postcode" th:value="${msg?.postcode}" placeholder="邮编" aria-describedby="sizing-addon3">
                </div>
                <br>
                <div class="input-group m-input-lg">
                  <span class="input-group-addon m-span-top" id="sizing-addon10">网站备案号:</span>
                  <input type="text" class="form-control m-input-radius" name="putOnRecordsCode" th:value="${msg?.putOnRecordsCode}" placeholder="网站备案号" aria-describedby="sizing-addon3">
                </div>
                <input type="hidden" name="creator" th:value="${msg?.creator}">
                <input type="hidden" name="updater" th:value="${msg?.updater}">
                <input type="hidden" name="isDelete" th:value="${msg?.isDelete}">
                <br>
                <div class="input-group m-btn-left">
                  <button type="submit" class="btn btn-primary">保存</button>
                </div>
              </form>
            </div>
          </div>

        </div>
        <!-- /.container-fluid -->

      </div>
      <!-- End of Main Content -->

      <!-- Footer -->
      <footer class="sticky-footer bg-white">
        <div class="container my-auto">
          <div class="copyright text-center my-auto">
            <span>Copyright &copy; Your Website 2020</span>
          </div>
        </div>
      </footer>
      <!-- End of Footer -->

    </div>
    <!-- End of Content Wrapper -->

  </div>

  <button id="bcn">clickme</button>
  <!-- End of Page Wrapper -->

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>

  <!-- 确定退出面板-->
  <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
          <button class="close" type="button" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">×</span>
          </button>
        </div>
        <div class="modal-body">您确定要退出吗？</div>
        <div class="modal-footer">
          <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
          <a class="btn btn-primary" href="login.html" th:href="@{/admin}">确定</a>
        </div>
      </div>
    </div>
  </div>

  <!-- 个人资料面板-->
  <div class="modal fade" id="personalData " tabindex="-2" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="mianban">个人资料</h5>
          <button class="close" type="button" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">×</span>
          </button>
        </div>
        <div class="modal-body">张四</div>
      </div>
    </div>
  </div>

  <!-- Bootstrap core JavaScript-->
  <script th:src="@{/vendor/jquery/jquery.min.js}"></script>
  <!-- Core plugin JavaScript-->
  <script th:src="@{/vendor/jquery-easing/jquery.easing.min.js}"></script>
  <script th:src="@{/vendor/bootstrap/js/bootstrap.bundle.min.js}"></script>

  <script th:src="@{/vendor/build/toastr.min.js}"></script>

  <!-- Custom scripts for all pages-->
  <script th:src="@{/js/sb-admin-2.min.js}"></script>
  <script th:src="@{/js/sb-admin-me.js}"></script>

</body>

</html>
